package org.example.factory;

import org.example.entity.Connection;
import org.example.entity.Statement;
import org.example.entity.imple.OracleConnection;
import org.example.entity.imple.OracleStatement;

public class QracleFactory implements DBFactory{
    @Override
    public Connection createConnection() {
        System.out.println("building OracleConnection");
        return new OracleConnection();
    }

    @Override
    public Statement createStatement() {
        System.out.println("building OracleStatement");
        return new OracleStatement();
    }
}
